* You are viewing the archive for August, 2010

Install Acrobat Reader and Adobe Flash on 64-bit Fedora

Installing Acrobat Reader and Flash Player on 64 bit Linux machines

Acrobat Reader

  1. Download and install the Adobe Release RPM (one-time step only)
    wget http://linuxdownload.adobe.com/linux/i386/adobe-release-i386-1.0-1.noarch.rpm
    rpm -ivh adobe-release-i386-1.0-1.noarch.rpm
  2. Run the Yum command with the Adobe Reader for your language, as follows:
    For first time installations:
    yum install AdobeReader_enu
    For updates:
    yum update AdobeReader_enu
  3. Run Acrobat Reader
    acroread &

Note: It might complain a bit about some lib file when running for the first time, but that shouldn’t stop it from running or working properly

Adobe Flash

  1. Make use of the same Adobe repo file used by Acrobat Reader
  2. Download yum version of flash player from: http://get.adobe.com/flashplayer/
  3. Run:

    [For Fedora 10]
    su -c ‘yum install flash-plugin nspluginwrapper.x86_64 \
    nspluginwrapper.i386 … Continue Reading

Disable GUI in Linux

Have you ever come across a situation when you wanted to disable GUI in your Linux box? Well I have. I just got a brand new GPU server running Ubuntu 10.04 and as users at my lab are supposed to submit jobs to the machine remotely, I don’t actually need GUI running on it. Moreover, GUI consumes a lot of system resources which can be put to better use someplace else and there is always the threat of some security holes when you’re using X. If you happen to be running Ubuntu or another Debian based machine you will need … Continue Reading

Debugging in Linux with GDB

I came across this nice piece of tutorial regarding debugging with GDB. You can find the entire tutorial here.

To be able to debug a program, you need to compile it with debugging information enabled so that gdb can work with variables, their state and values, lines and functions. To do this, compile your program under gcc (or g++) with an extra ‘-g’ option:

example: gcc -g test.c -o test

Running gdb

Simply run gdb from the shell and pass the program name as parameter: gdb test

Once your program is loaded, … Continue Reading