Installing new packages and libraries

As Meshlium is based on a Debian system you can use tools such as aptitude in order to download and install new libraries, services, data bases and applications.

If you want to install new applications you must use aptitude. Any other tool including apt-get could set the system unstable as the packet dependencies are not always perfectly solved using other tools.

Important:

  • Never use "apt-get", use always "aptitude"
  • Never perform an "upgrade" (not even using "aptitude")
  • Before installing new packages make an "update"
  • Installing new software is a delicate task which has to be done for experts. If you are not sure about using "aptitude" do not perform any action as the system could get damaged. You can ask to our Developing team at: http://www.libelium.com/forum

First of all you must remount the system in read and write mode. To do so execute as root: "remountrw".

    #remountrw  

Now you can execute "aptitude":

    #aptitude  
  1. Perform an "update" pressing the "u" key
  2. Search for your package in the input form that appears when pressing the "/" key
  3. Select the desired package and press the "+" key
  4. Check that there are no dependencies to solve
  5. If there are dependencies you should fix them first (read the aptitude manual and tutorials on the web)
  6. Once dependencies are solved press the "g" key and the new package will be download and installed.

Last you must remount the system in read only mode. To do so execute as root: "remountro".

    #remountro  

If you are not sure about using "aptitude" do not perform any action as the system could get damaged. You can ask to our Developing team at: http://www.libelium.com/forum


© Libelium Comunicaciones Distribuidas S.L.

| Terms of use