For Ubuntu 14.04
sudo apt-get install clang nodejs
Set up the cs50 library: https://cs50.readthedocs.io/libraries/cs50/c/
Download check50 from: https://github.com/robotmayo/check50
Set aliases for check50 and clang in ~/.bashrc
Note: I already had ...
I wrote a small BASH script for setting up the appliance programs into existing Ubuntu OS. This script i had wrote, specially to configure my own Ubuntu 14.04 but will work for Raspberry Pi 2 Ubuntu Edition and 13.10(Server Edition) also.
this script will configure/install:
CS50 Library (C, PHP, Ruby, Python)
I am using Ubuntu 14.04. Following steps worked for me:
sudo apt-get install clang
sudo apt-get install nodejs
install cs50 library for Debian/Ubuntu from:
download check50 from:
copy check50.zip in your cs50 course folder and unzip it.
Your check should work ...
I managed to find the answer on the cs50 manual link below:
I have only installed the cs50 c library so far but it seems to work.
If installing the rest of the software works as well as the c library an .iso / .img file seems like overkill.
I am using the Appliance on Ubuntu 14.04. Initially I tried VMware and ran through lots of trouble, but then I used VirtualBox (which I had previously installed,) and everything worked fine.
After removing VMware (with VirtualBox installed,) I just double clicked the Appliance's OVA file, and it got installed. At the end of the VirtualBox tutorial for Linux ...
1. Edit the Makefile
DESTDIR ?= /usr/local
MANDIR ?= share/man/man3
DESTDIR = /data/data/com.termux/files/usr/local
MANDIR = /data/data/com.termux/files/usr/share/man/man3
In the Makefile, the question mark equal sign (?=) is for asking if the variable isn't defined. In this case just force it to use the specified path.
2. Build & Install ...
Compiler does not complain about missing cs50.h, so that looks right.
The linker does complain, though, and that's probably because you did not pass -lcs50 when compiling (telling the linker to consider cs50 library). make likely pulls that list from the LDLIBS environment variable, so you can add it there, or create a makefile mentioning that lib.
Sounds hard. I think you'd have to set up a web server for starters. You can have a look at the phpliteadmin script the next time you're on the IDE, it's in /opt/cs50/bin (or maybe you can just use that script?). If you are the firefox type, there's a great plugin called SQLite Manager. (Hint: use "Customize" to add the icon to your toolbar so you can find ...
Wireless can sometimes be a bit tricky to get working on Linux. In a terminal do:
The output should be a list of ethernet/wireless connections. Wireless cards are generally listed as 'wlanx' where x is some number. If there is no 'wlanx' then the appliance isn't loading the module for your wireless card. Take a look at https://help.ubuntu.com/...
You may want to read carefully instructions posted here, but only apply those "patches" if you feel confident messing around with config files.
And always create backups first (as in cp file1 file1.bak)
Per the pset, the GTK warning is a known bug in Linux fedora. Prof. Malan instructs students encountering this error to try restarting their appliance and try the sudo command again. I had the same error and restarting the appliance and trying again worked for me.