Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Thursday, November 4, 2010

[UBUNTU] Sudo insulting you & How to save the package list

MAKE SUDO INSULT YOU
With a little mod, when typing wrong password at sudo request, it will insult you.
Start typing in console

sudo gedit /etc/sudoers


On line 8 modify adding ",insults" as in

Defaults env_reset,insults


HOW TO SAVE INSTALLED PACKAGES LIST

In Terminal write

sudo dpkg --get-selections > installed-software

It creates the file "installed-software" in your /home/[name]/ directory.

Copy this file onto the system you will install these packages to and go to Synaptic, File->Read Markings, and load the file, then choose Apply to download and install packages.
This works for all enabled repositories, but, for example, packages from ppa repositories will not be retrieved (or will be installed in the Ubuntu Universe version)

Monday, September 13, 2010

Hugin 2010.2 on Ubuntu

Ubuntu users have to use an one-year-old version of Hugin (the one in the official repository), but if they have some time, they can uninstall it through building from sources.
On the Panotools wiki there's a step-by-step guide http://wiki.panotools.org/Hugin_Compiling_Ubuntu

Each program has similar steps:
-Make a folder in /home/[user]/src
-clone the mercurial repository (thus creating a folder [program].hg
-then create a folder [program].hg.build and launch building

-When choosing branches make sure to use the last one with only numbers (eg Hugin 2010.2)

One note: if occours this error while launching hugin
hugin: error while loading shared libraries: libhuginbase.so.0.0:
cannot open shared object file: No such file or directory

execute this command in the Terminal
ldconfig -v