Product SiteDocumentation Site

2.2. Install serna-free

serna-freeis not available in the Ubuntu repository and not published as a deb package. We will then use the rpm package and the software alien to install it cleanly into our system.
sudo apt-get install alien 
Then download the rpm from the official repository:
wget http://downloads.sourceforge.net/project/sernafree.mirror/serna-free-4.4-4.4.0-20111103.i686.rpm -O serna-free.rpm
Convert the rpm into deb using alien (It could take some time)
sudo alien -dck serna-free.rpm
Install the created package using the following command:
sudo dpkg -i serna-free*.deb
Execute the post-installation script to complete the installation:
sudo sh -c 'export SERNA_EXE=serna.bin; export SERNA_TAG=serna-free-4.4; export INSTALL_PREFIX=/opt; /opt/serna-free-4.4/bin/serna-postin.sh'
Create a link to the program into /usr/local/bin/ to have it available in the path
cd /usr/local/bin
sudo ln -s /opt/bin/serna 
Finally, add the shortcut into the desktop menu by creating the file ~/.local/share/applications/serna.desktop with the following content:
[Desktop Entry]
Name=Serna
Comment=XML WISWIYM Editor
Exec=serna
Icon=/opt/serna-free-4.4/icons/SernaIcon32.png
Terminal=false 
Type=Application 
Categories=Application;Office; 
StartupNotify=true
serna-free application is now available into UbuntuOfficeSerna