{"action":"opened","issue":{"url":"https://api.github.com/repos/Alhxor/cookbooks/issues/1","repository_url":"https://api.github.com/repos/Alhxor/cookbooks","labels_url":"https://api.github.com/repos/Alhxor/cookbooks/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Alhxor/cookbooks/issues/1/comments","events_url":"https://api.github.com/repos/Alhxor/cookbooks/issues/1/events","html_url":"https://github.com/Alhxor/cookbooks/issues/1","id":383027571,"node_id":"MDU6SXNzdWUzODMwMjc1NzE=","number":1,"title":"Virtualbox Ubuntu + Code Blocks IDE + libgraph","user":{"login":"Alhxor","id":15388044,"node_id":"MDQ6VXNlcjE1Mzg4MDQ0","avatar_url":"https://avatars1.githubusercontent.com/u/15388044?v=4","gravatar_id":"","url":"https://api.github.com/users/Alhxor","html_url":"https://github.com/Alhxor","followers_url":"https://api.github.com/users/Alhxor/followers","following_url":"https://api.github.com/users/Alhxor/following{/other_user}","gists_url":"https://api.github.com/users/Alhxor/gists{/gist_id}","starred_url":"https://api.github.com/users/Alhxor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alhxor/subscriptions","organizations_url":"https://api.github.com/users/Alhxor/orgs","repos_url":"https://api.github.com/users/Alhxor/repos","events_url":"https://api.github.com/users/Alhxor/events{/privacy}","received_events_url":"https://api.github.com/users/Alhxor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-21T09:29:19Z","updated_at":"2018-11-21T09:29:19Z","closed_at":null,"author_association":"OWNER","body":"Legend:\r\nhost\t\t\tbase OS\r\nguest\t\tvirtual OS \r\n$ command\trun command in Ubuntu terminal\r\n\r\nVirtualbox shared folder\r\n1.\tGo to [VirtualBox menu -> Devices -> Shared Folders -> Shared Folders Settings]\r\n2.\tAdd a shared folder named [vmshare] and provide a path to the folder on host\r\n3.\tCreate a folder on guest machine [~/Desktop/share]\r\n4.\t$ sudo mount -t vboxsf vmshare ~/Desktop/share\r\n\r\nInstalling Code::Blocks IDE on Ubuntu\r\n1.\tDownload binary package codeblocks_17.12-1_amd64_stable.tar.xz from http://www.codeblocks.org/downloads/26#linux\r\n2.\tExtract contents into [~/Downloads/codeblocks/]\r\n3.\t$ cd ~/Downloads/codeblocks\r\n\t$ rm codeblocks-contrib*\r\n\t$ dpkg -i *.deb\r\n\t$ sudo apt-get install -f\r\n\r\nInstalling libgraph on Ubuntu\r\n1.\tOpen [/etc/apt/sources.list] file with root privileges\r\n\t$ sudo nano /etc/apt/sources.list\r\n2. Add these lines:\r\n\tdeb http://us.archive.ubuntu.com/ubuntu/ xenial main universe\r\n\tdeb-src http://us.archive.ubuntu.com/ubuntu/ xenial main universe\r\n3.\t$ sudo apt-get update\r\n4.\t$ sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev guile-2.0 \\\r\nguile-2.0-dev libsdl1.2debian libart-2.0-dev libaudiofile-dev \\\r\nlibesd0-dev libdirectfb-dev libdirectfb-extra libfreetype6-dev \\\r\nlibxext-dev x11proto-xext-dev libfreetype6 libaa1 libaa1-dev \\\r\nlibslang2-dev libasound2 libasound2-dev\r\n5.\tDownload libgraph from http://download.savannah.gnu.org/releases/libgraph/libgraph-1.0.2.tar.gz\r\n6.\tExtract contents into [~/Downloads/libgraph/]\r\n7.\t$ CPPFLAGS=\"$CPPFLAGS $(pkg-config --cflags-only-I guile-2.0)\" \\\r\n  CFLAGS=\"$CFLAGS $(pkg-config --cflags-only-other guile-2.0)\" \\\r\n  LDFLAGS=\"$LDFLAGS $(pkg-config --libs guile-2.0)\" \\\r\n  ./configure\r\n8.\t$ make\r\n\t$ sudo make install\r\n9.\t$ sudo cp /usr/local/lib/libgraph.* /usr/lib\r\n"}}
{"actor":{"display_login":"Alhxor"}}