Questions related to compiling software, normally using the "make" command.
50
votes
5answers
13k views
How do I build Unity from source?
I'd like to know how I would build Unity from source code in the current development release. Please cover the following topics:
Which packages are needed to compile Unity?
Where would I get the ...
41
votes
9answers
319k views
How to install a .tar.gz (or .tar.bz2) file?
I have downloaded tar.gz files. But I don't know how to install it. How do I install this kind of file?
22
votes
5answers
5k views
If I build a package from source how can I uninstall or remove completely?
I used source code to build one package such as below:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib --with-package-name="Myplugin" ...
22
votes
4answers
3k views
How are packages actually installed via apt-get install?
When using the apt-get install method to install a package onto ubuntu, is there any fundamental difference between obtaining the source code for that package and building it from scratch? Does the ...
17
votes
3answers
4k views
How do I install the latest version of node.js?
How do I install node.js in Ubuntu? I've been looking around, and I can't find anything. Is there a Ubuntu package for node.js, or do I have to compile it myself?
15
votes
4answers
3k views
What are the packages/libraries I should install before compiling Python from source?
Once in a while I need to install a new Ubuntu (I used it both for desktop and servers) and I always forget a couple of libraries I should have installed before compiling, meaning I have to recompile, ...
14
votes
5answers
475 views
Does compiling programs from source speed up my operating system?
Somewhere I read that I should remove default programs in ubuntu and then compile and install them again for speeding up my os.
Is this true?
13
votes
2answers
2k views
Compile 32bit kernel on 64bit machine
I'm trying to compile a kernel for a 32bit single-core Intel Atom machine. Needless to say, the compile is taking inordinate amounts of time. It's been going for 2 hours and it's still only halfway ...
12
votes
4answers
19k views
How can I install a realtime kernel?
I have read a lot of threads with similar questions, but after reading the answers, I am very confused. I have found in them lots of url's with repositories but people discusses about which ...
9
votes
3answers
320 views
How to find out how many people have downloaded from PPAs
How do I find out how many people use a particular PPA.
I see on a particular PPA ;
Package build summary
A total of 108 builds have been dispatched for this PPA.
Completed builds
108 successful
0 ...
9
votes
2answers
2k views
How to compile gedit LaTeX plugin?
Because I'd like to use the Gedit LaTeX plugin that is unfortunately not available for Gedit 3.2 in the repositories, I want to compile it myself. The most recent version you can get on ...
9
votes
7answers
577 views
How do I port software that I have written for Windows to Ubuntu?
I have written software packages for the Windows platform.
I want to change to Ubuntu. At the moment I use Visual Basic and Access Databases. Can anyone suggest What I should use to rewrite my ...
8
votes
2answers
305 views
Can't compile with GCC on Ubuntu 12.04
I'm trying to compile and run the below C program on my Ubuntu & Windows machines with both GCC & VC9. However, I'm facing below issues:
On Ubuntu machine:
GCC compiles fine, but when run, ...
8
votes
2answers
2k views
What's a simple way to recompile the kernel?
I'm interested in compiling a new kernel under Ubuntu 12.04 x86 64 bit.
I found this wiki page which is basically a mirror for this blog and there are a lot of steps (git, etc.) that appear useless ...
8
votes
2answers
1k views
Is it possible to find out what options packages were compiled with?
I am interested in knowing which options are used to compile vim in the package "vim" as I am trying to compile vim from source on another system, not running Debian/Ubuntu, and would like it to work ...
8
votes
1answer
604 views
How to upload package with dependencies to my PPA?
I made a package for my PPA and uploaded it. It built without any problems.
Then I made another package that depended on the first and uploaded it. It failed because it couldn't find the files in the ...
8
votes
3answers
340 views
VMware no longer compiles after upgrade
I used VMware on ubuntu 10.04 for quite a while. When 10.10 was released I did a clean install. I tried to reinstall VMware, but after installing, I wasn't able to compile the modules. Does anybody ...
8
votes
5answers
2k views
Compiling latest GNOME-Shell
This question pretends to be a central place where people share info about compiling the latest and greatest GNOME-Shell environment in Ubuntu 10.10.
As GNOME-Shell now depends on gtk3 and in a lot ...
7
votes
2answers
147 views
How can I install Inkscape from BZR?
In order to get the latest version of Inkscape, one has to use BZR.
How can I install inkscape using BZR and properly install it on my System?.
Detailed step by step guide would be preferable.
7
votes
3answers
11k views
Cannot find install-sh, install.sh, or shtool in ac-aux
This is my first time trying to compile and install anything on a linux machine. I got the latest version of https://github.com/processone/exmpp via git and read the instructions which state:
2. ...
7
votes
3answers
1k views
Is there a PPA with a Wayland build I can use?
It seems like Wayland is coming to Ubuntu in the distant future. Being the curious type, I thought I would give it a try. I was going to build it myself, but wanted to save myself the trouble if there ...
7
votes
1answer
3k views
How to install tmux from source?
I've download tmux and am trying to install it on Ubuntu 10.04.
$ ./configure
Configured for Linux
$ make
cc -DBUILD="\"1.3\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o attributes.o ...
7
votes
1answer
226 views
How do I compile format junkie?
The ppa:hakermania/format-junkie is down, at least for me, is it possible to compile format junkie in 11.10? If so, how?
This is the list of files I have:
about.cpp error_logs.h ...
7
votes
2answers
433 views
How to cross-compile an existing deb package from 64bit to 32bit architecture
I have rebuilt a deb package with a custom patch for my computer which is a 64bit machine. I did it using:
sudo apt-get -b source [package name]
Now my question is, how to do that in a similar ...
7
votes
2answers
6k views
What's the Linux equivalent to Windows batch files?
I have a batch file which I use to create an .apk file on my Windows machine.
Now I need to be able to create the .apk file in Ubuntu but I don't know how translate my .bat file to a script to be able ...
6
votes
5answers
554 views
How are the programs in /bin directory compiled into a non-readable format?
I've noticed that most of my commands/programs in the /bin directory are compiled. I wish to duplicate this non-readable code format myself. Can someone tell me why and/or how these programs get this ...
6
votes
5answers
1k views
Launchpad failed to build after “quickly submitubuntu” [closed]
I uploaded my python project by running "quickly submitubuntu", but it failed to build on Launchpad. "quickly submitubuntu" is supposed to add package dependencies automatically, but the error log ...
6
votes
3answers
154 views
Will a package I compile myself perform better than installing from the repositories?
Does a package performance is different when it's compiled from sources, or installed from repository ? Is it possible, what during the compilation, the package will be "more adapted" (performance, ...
6
votes
2answers
16k views
How do I install glib?
I want to build the Empathy in Ubuntu 11.04.
When I follow the build process,
./autogen.sh
The shell said to me that
libtoolize: copying file `m4/lt~obsolete.m4'
checking for autoconf >= ...
6
votes
4answers
3k views
Build Ubuntu from source, for speed [closed]
I've read about how source-based linux distros like Gentoo and Arch can have considerable performance increases when compared to pre-built distros like Ubuntu because they install from source with ...
6
votes
4answers
5k views
Where does Ubuntu store its library files?
I want to add my own library to use in c compiling, but don't really know where ubuntu stores it.
6
votes
4answers
2k views
Installing CoverGloobus
Is there any easier way to install Covergloobus 1.6 in Ubuntu 10.10 ? PPA doesnt work , tried to compile it but failed , are there any other ways??
6
votes
1answer
8k views
How to solve configure: error: readline library not found?
I have an Ubuntu 10.04 LTS server with a minimal install that I want to compile postgres on. With the minimal install the server did not have gcc so I had to do an apt-get install gcc but now I keep ...
6
votes
1answer
4k views
6
votes
3answers
655 views
How to download, modify, build and install a Debian source package?
If I want to make minor changes to the source code of a Debian package, how do I go about downloading, incrementing the package version, building the (modified) source, and installing it on my ...
6
votes
1answer
146 views
Free Software for Billing (Colombia)
English
I'm looking for a billing application (also inventories, shopping, clients, providers, accounts, etc) for small businesses. The software should adapt with Colombia's necessities. I searched ...
6
votes
2answers
444 views
How do I install the X.org Radeon/ATI driver?
I recently downloaded version 7 of the Radeon/ATI X.org Driver from this link: http://cgit.freedesktop.org/xorg/driver/xf86-video-ati
My question is how do I compile and install it? I don't like ...
6
votes
1answer
1k views
Compiling 32-bit app on 64-bit, cannot find -lX11
I'm invoking a command like:
g++ ... -o"myapp" -lX11 ...
And getting
/usr/bin/ld: cannot find -lX11
I've installed the following packages to support multiarch:
ia32-libs, libc6-dev-i386 and ...
5
votes
3answers
833 views
How to build application without sudo privileges?
What do I need to setup on a Ubuntu 9.10 server so that a user can build applications of there choice (i.e. ./configure , make && make install) with out the need for sudo/admin privileges.
I ...
5
votes
2answers
303 views
How to install Media Explorer?
Media Explorer is a Media Center much like XBMC, it is part of Meego. The latest version, 0.3, is only available as source, which one has to build. A PPA exists, providing version 0.2, yet I don't ...
5
votes
3answers
422 views
Removing sources after building from them
Suppose, we've built some package from sources (configure make install).
May we remove sources directory after successful building? Or it depends? On what, then?
5
votes
2answers
954 views
Can I rebuild a package without recompiling the source?
I am building a new .deb and want to fix lintian errors in the packaging. However, every time I rebuild, the rules file does a 'make clean' and thus starts compiling again.
Is there a way to ...
5
votes
2answers
955 views
How to compile Vim with GUI?
I want to learn how to compile vim from the sources, because there are some additions that I want to add, and learn how to deal with this situations, but until now I didn't have success doing it, I ...
5
votes
4answers
7k views
How to compile a .java file
How can I compile a .java file. What programs will I need and if I need java jdk I need help installing that. I'm very new to ubuntu so any program I need to install I will need a tutorial on how to ...
5
votes
1answer
265 views
PPA hosting packages not built on launchpad build farm
Is it possible to build the deb packages in house and then upload the binaries to launchpad PPA, instead of uploading the source package and let it build by the build farm ?
5
votes
2answers
321 views
How do I compile and use liboverlay-scrollbar from source?
I'm trying to install and use a patched version of liboverlay-scrollbar that matches my personal preferences. I've successfully downloaded lp:ayatana-scrollbar and ./autogen.sh; make; sudo make ...
5
votes
1answer
238 views
How to install software from source and tell the apt-get that I have installed the version?
For installing software from source:
./configure
make
sudo make install
How to tell the apt-get that the software has been installed, so that
sudo apt-get install someSoftware
Will show that the ...
5
votes
4answers
5k views
Can't build gcc anymore since upgrade to 11.10
On Monday I've upgraded to from Ubuntu 11.04 (my initial installation) to 11.10 and now I can't build gcc from source anymore. Since I forgot to uninstall the gcc package before the upgrade, Ubuntu ...
5
votes
1answer
305 views
What does “compiling a kernel” mean?
What is meant by term kernel compilation?
Does it involve working directly on the source code of the kernel; making changes to the kernel program and then compiling the whole source code? Or does it ...
5
votes
3answers
2k views
Does compiling a linux kernel make the OS faster?
Does compiling a downloaded linux kernel (e.g 3.2) make the OS (e.g ubuntu) faster on that specific machine?

