Compile OScam on Ubuntu

You need to connect to your PC using telnet (putty). Select all three lines at the same time and copy paste them in putty (telnet). OS will start to install packages.

apt-get install cvs subversion autoconf libccid automake libtool gettext make cmake tar bzip2 gzip patch ncurses-bin gcc g++ flex bison pkg-config pcsc-tools pkg-config wget libpng3 libpcsclite1 libpcsclite-dev libusb-dev libssl-dev libpng12-0 libpng12-dev libpng3 libpnglite-dev pngquant zlib-bin zlib1g-dbg zlib1g-dev zlib1g zlibc dialog build-essential mercurial

Install this package only if you have Smargo cardreader:

tar xjf libusb-1.0.8.tar.bz2
cd libusb-1.0.8
./configure; make; make install

Now we are ready for final steps!

cd .. (you need to come to the root of your sistem)
svn co oscam-svn   # you can also add -r xxxx at the end, if you want to download specific version of oscam. Lets say 7190. Very useful, especially if newer versions of OScam are very unstable!
cd oscam
mkdir build
cd build
cmake ..
make install (this command will install oscam to /usr/local/bin folder!!)

Now you need to chmod oscam file to 0755. Use these commands:

cd /usr/local/bin

chmod 755 oscam

You also need to setup automatic startup with boot. Execute these commands:

nano /etc/rc.local

Before “exit 0” line write this line:

/usr/local/bin/oscam -b

Press CTRL+C and confirm changes with Y.

This is it! Now you need to create oscam config files and transfer them to /usr/local/etc. You will also be able to use PSCS (Omnikey for example) and Smargo cardreaders!

For discussion please visit thread here:

  • which oscam advice you at the moment?


    October 9, 2013

  • Always newest one. Its very stable right now.


    October 10, 2013

  • hi,
    the fist command does not work.
    lots of ‘unable to locate package …..’ and some other errors.
    any update pls


    February 3, 2017

Leave a comment  




Submit comment

CommentLuv badge

Powered by