399
votes
10answers
387k views

What are PPAs and how do I use them?

I keep reading about Personal Package Archives ('PPAs') and people answer questions with a link to a PPA. What's the best way to use these? There are multiple valid answers for this question ...
63
votes
7answers
173k views

Getting + installing gcc/g++ 4.9 on Ubuntu?

How do I install the latest version of gcc and g++? I am using a variety of C++11 and C++1y features; which is why I need this.
54
votes
1answer
24k views

create a .deb Package from scripts or binaries

I searched for a simple way to create .deb Packages for things which have no source code to compile (configs, shellscripts, proprietary software). This was quite a problem because most of the package ...
29
votes
2answers
5k views

How do I create a PPA for a working program?

Let's assume I have a working application written in C, C++ or Python. I want to create a Launchpad PPA so others can easily install it from a package. Please give step by step instructions for doing ...
6
votes
2answers
14k views

How do I install the latest Blender 3D builds from a PPA?

My problem is that i want to install latest blender and upgrade it automatically via sudo apt-get update && sudo apt-get upgrade . So, i tried to add a repository sudo add-apt-repository ppa:...
4
votes
5answers
2k views

Why does apt-get require sudo?

This is probably a stupid question, but I recently realized that I have no idea why there's no single-user functionality with apt-get. Answers I'm not looking for: "It's because apt writes to ...
2
votes
2answers
123 views

How do I update something in the Ubuntu repository?

All of my google results on this question are about just learning to use synaptic. I've noticed that Ubuntu's TTYtter package is quite a ways behind. TTYtter is just one file (one perl script) so ...
0
votes
1answer
339 views

Unable to install specific package version with apt-get

I am trying to run the following command to install a specific version of libssl: apt-get install libssl1.0.0=1.0.1-4ubuntu5.13 As of right now, the latest version is 1.0.1-4ubuntu.14, but I want ...
2
votes
1answer
31 views

How do I create a program similar to 'fortune', that can be installed using apt-get install

I am trying to create a program, let's call it abcd like http://linux.die.net/man/6/fortune that can simply be installed like $ sudo apt-get install abcd. Now for the specifics, my program simply is ...
0
votes
1answer
41 views

Contributing to Ubuntu packages

I'm using the SFML library which - wasn't at all tedious but - took about 30 minutes to get it configured properly. Now the library is available using apt-get, but it installs an earlier version. Is ...
2
votes
0answers
66 views

Build a Ubuntu debian package [duplicate]

I would like to create an Ubuntu package from a single bash script I wrote. Is there a simple instruction how to build an Ubuntu package, that can be uploaded to launchpad? (I already created the PPA ...
1
vote
1answer
28 views

Proper way to create Debian package [closed]

I'm new in Ubuntu. I'm a web dev and have created html app using electron. There are a lot of instruction how to create a deb package. So now I have built a .deb package and can install it. However ...
1
vote
1answer
30 views

Electron App as PPA

I've been doing some research: You can't build PPA's from a Node.js application. Apparently, this is not a rule, since there are a few projects that have successfully achieve this. WebUDP8 is an ...
1
vote
0answers
20 views

How to provide a ppa for a project on Github in README?

I have uploaded the source on Github but I want to provide the PPA in the README file so that users can directly do sudo add-apt-repository -y ppa:foo/project Then update the cache using: sudo ...