Hot answers tagged

11

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 http://www.reddit.com/r/cs50/comments/1ujct6/after_using_the_cs50_appliance_i_finally_decided/ceiqkqz Note: I already had ...


3

To configure on 64-bit ubuntu 14.04LTS Install java Install LAMP. Install node.js Install clang : sudo apt-get install clang Install CS50 Library : apt-get install gcc wget http://mirror.cs50.net/library50/c/library50-c-5.zip unzip library50-c-5.zip rm -f library50-c-5.zip cd library50-c-5 gcc -c -ggdb -std=c99 cs50.c -o cs50.o ar rcs libcs50.a cs50.o ...


3

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: check50 CS50 Library (C, PHP, Ruby, Python) style50 render50 openjdk clang nodejs ...


2

I am using Ubuntu 14.04. Following steps worked for me: sudo apt-get install clang sudo apt-get install nodejs sudo su install cs50 library for Debian/Ubuntu from: https://manual.cs50.net/library/ download check50 from: https://www.dropbox.com/s/89awhsta1qbqfnp/check50.zip copy check50.zip in your cs50 course folder and unzip it. Your check should work ...


2

I managed to find the answer on the cs50 manual link below: https://manual.cs50.net/library/ 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.


2

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

1. Edit the Makefile From DESTDIR ?= /usr/local MANDIR ?= share/man/man3 To 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 ...


1

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.


1

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 ...


1

You will probably find all the details in the emacs wiki, particularly this page: Indenting for C There's a search bar there too for other questions.


1

Wireless can sometimes be a bit tricky to get working on Linux. In a terminal do: ip a 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/...


1

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)


1

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.


Only top voted, non community-wiki answers of a minimum length are eligible