How do I create a PPA?

1

This is a tutorial on creating a basic .deb file from a given sample script. In this tutorial first we create a sample program in bash that just show ‘HELLO FROM PROGRAM’. Then we create a control file for the program in order to make a debian installer. Finally they are packaged into a .deb file.

create a sample program in bash

mkdir "$HOME/create_deb/pgmdir" gedit "$HOME/create_deb/pgmdir/zenity_hello.sh"

paste the following code into it

#!/bin/bash echo 'HELLO FROM PROGRAM' | zenity --text-info

Make the program executable

chmod +x "$HOME/create_deb/pgmdir/zenity_hello.sh"

Create control file for the debian package

Make a file named control inside folder DEBIAN

mkdir "$HOME"/create_deb/DEBIAN gedit "$HOME"/create_deb/DEBIAN/control

and paste following details

Package: hellodeb Version: 0.1 Architecture: all Maintainer: totti Installed-Size: 6 Depends: zenity, bash Section: testing Priority: optional Homepage:...
0 0
2

I am in a research and a step of it is to create a ppa to add academic files. Due the very low speed internet and the impossibility of transforming ppas hosted in launchpad into public, it must be hosted in the local server. I have tried to follow a tutorial from 2009, but no success. Can someone help me on it?

Other Tips. In Natty I downloaded the latest version of Dropbox from their website. It should come with an appindicator rather than a systray icon, and it does so on my other Maverick installation. However, it does not for some reason. That is very inconvenient, as these icons are blocked in Natty. I suppose that for some reason the system still installed an older version of Dropbox. How can i fix that/get the latest version to install? Figured it out myself. It's actually very simple! First, stop Drobpox. This can be done easily by entering the following terminal command: dropbox stop Now download the following .zip file:...

0 0
3
...
0 0
4
...
0 0
5

It's all very simple once you get the hang of it. I have run into problems here and there, but generally speaking, PPA's are the only way to get your software updated in Ubuntu between distro releases (don't get me into a rant about that). It's too much to explain here, so I will point you to some worthwhile documentation. But first, a few simple rules:

Know what you're installing. Most likely you'll use Launchpad for the majority of your PPA needs, but even so it can be dangerous to your computer. Usually the worry for me is not malicious intent, but conflicting packages. If package A requires a modified version of ffmpeg, and package B in a different repository requires a modified version of ffmpeg too, well, now there's a good chance you might not be able to watch videos, for example, with package A or B or at all.

Keep in mind that anyone can create a PPA, even you. Just because a person signs the Code of Conduct doesn't mean they know what they're doing. On...

0 0
6

Launchpad Help > Packaging > Personal Package Archives

Using a Personal Package Archive (PPA), you can distribute software and updates directly to Ubuntu users. Create your source package, upload it and Launchpad will build binaries and then host them in your own apt repository.

That means Ubuntu users can install your packages in just the same way they install standard Ubuntu packages and they'll automatically receive updates as and when you make them.

Every individual and team in Launchpad can have one or more PPAs, each with its own URL.

Packages you publish in your PPA will remain there until you remove them, they're superseded by another package that you upload or the version of Ubuntu against which they're built becomes obsolete.

Note: speak to us about our beta of private PPAs for commercial subscribers.

Size and transfer limits

Each PPA gets 2 GiB of disk space. If you need more space for a particular PPA, ask us....

0 0
7

A PPA is a Personal Package Archive. Essentially when you do apt-get install cool-stuff you're pulling information from a public repository of code and compiled binaries. If you've written your own code you may want to share it with the world and a PPA is a great way to do this, using the familiar apt-get mechanisms Debian-based users have come to know and love.

A PPA is a great way to share files with people, but only certain types of files. It's designed to distribute code and binaries to a broad audience, if you want to share a video of your kid's birthday party you'd still be better off with email or a file sharing service (or, even better, just run cp birthday /dev/null since most parents vastly overestimate how much other people like those videos...). On the other hand, if you've written a nifty script that transmorgifies your framus widgets automatically and you think other people may be interested a PPA is a good way to go.

1.1. How is a PPA different from...

0 0
8

Hi all,

I would like to publish on my PPA a patched version of XBMC (for Ubuntu).
I only add a very simple patch to the version published on https://launchpad.net/~team-xbmc/+archive/ppa
How could I easily do that?

- Should I create them whith checkinstall, dpkg-buildpackage or any other manual way? I suppose I should better add my patch in the patch list of https://launchpad.net/~team-xbmc/+archiv...ian.tar.gz and somehow use this to create the .deb files? It looks like it uses Quilt. Should I "simply" refer to http://developer.ubuntu.com/packaging/ht...kages.html and http://askubuntu.com/questions/454/what-...ustom-ppa?
- Should I put only the modified .deb in my PPA, with dependencies to the .deb files of https://launchpad.net/~team-xbmc/+archive/ppa ? I suppose I'd better generate all the .deb files, even if some of them are untouched
- How should I create the .deb files for other ubuntu versions/architectures? (I currently compile in a...

0 0
9
P

HP 7 provides 2x faster performance and 50% better memory consumption than PHP version 5.6. How do I install PHP 7 on Ubuntu Linux version 14.04 LTS server? How do I install PHP 7 with PHP-FPM in along with Nginx web server?


You need to install a PPA called ondrej/php. This allows you to co-install PHP versions 5.6 and 7.0. The latest

version of PHP 7 is 7.0.5 and you will learn how to install the same on Ubuntu 14.04 LTS

server.

Configure a PPA for co-installable PHP 5.6 + 7.0

Type the following command:
$ sudo apt-get install -y language-pack-en-base
$ sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
OR
$ sudo add-apt-repository ppa:ondrej/php
Sample outputs:

Fig.01: Configure a PPA for PHP 7.0 packages

Update the package index

To resynchronize the package index files from their sources, enter:
$ sudo apt-get update
Sample outputs:

List all PHP 7 packages

...
0 0
10

Synaptic

To get a list of packages available in a PPA / repository enabled on your system (if the repository is disabled or not added on your system, it won't show up here), firstly install Synaptic if you haven't already:

sudo apt-get install synaptic

(or install

Synaptic GTK3

)

Then open Synaptic, select "Origin" on the bottom left, then select a PPA or repository on the left and it should list all packages in that PPA / repository for your Ubuntu version, both installed and not installed:


In the latest Synaptic built with GTK3, there are two entries for each PPA here, one that uses "/now" at the end, which displays the packages you've installed from a repository and another one which displays all the packages available in that repository.

Important: if the exact same package (including the package version) exists in two or more PPAs / repositories, it will only be listed for one repository entry in Synaptic. That's why I've...

0 0
11

Part of the appeal of Ubuntu is its six-month release cycle. Every six months a new version of the free operating system is released into the wild, complete with updates for all of your favorite software. This is great, but can be a trifle disappointing from time to time. For example, if a new version of your favorite software comes out you may have to wait until the next version of Ubuntu comes out to try it.

The solution to this is the PPA. This is a repository, provided by Canonical (the company behind Ubuntu), that allows developers and enthusiasts to offer up-to-date versions of software to all Ubuntu users. Originally PPAs were limited to programmers and testers, but Canonical opened PPAs to everyone in late 2007.


I constantly mention PPAs in my Ubuntu articles because for the newest software, installing a PPA is the simplest way to get everything working. But what is a PPA and why would you want to use one?

What’s A PPA?

Those new to...

0 0
12

Whether you’re a brand-new PPA member or just having trouble getting where you need to go on this site, we have some help for you. Try these PPA.com FAQs on for size!

Why don’t my username and password work anymore?
PPA has recently added a new assocation management system that has changed the way you log in to PPA.com. Members now log in using an email address and a password. PPA members should have received an email with the email address we have on record that is to be used for logging in. If you did not, please contact Customer Service at 800-786-6277 or by email at csc@ppa.com. Then just use the email and password to log in.

I’m a PPA member – How do I log in?
If you’re a PPA member and have already created your profile, just click Log In (red button on the upper right of the site). Enter the email and password you already created to breeze right through.

If you are not a PPA member but would like to create an account for basic access, you can...

0 0
13

In an effort to install various apps in Ubuntu or other Linux distribution, we often add several PPA. Most of the times these PPAs are managed by a single developer as he might have created a certain app for personal amusement or as a hobby. Over times these PPAs might not be updated with latest version of operating system. This might create trouble when you try updating your OS. You may have other reasons as well for deleting or removing a PPA from the source list.

How to remove a PPA:

There are several ways to remove a PPA in Ubuntu. You can do it from Software Sources list, by removing the source files from the directory or the simplest way by using apt. There are different advantages of all of them. We’ll see all methods to delete a PPA in detail:

1. Remove a PPA from Software Sources via GUI:

This method is apt for those of you who prefer to use GUI over command line. While you are using Linux, I highly recommend that you use command line. But...

0 0
14

Note: All commands asked to be run must be run in the terminal, which can be opened by either Ctrl+Alt+T or searching for terminal in the dash.

Try running the following command and try to reinstall the software you were trying to install

sudo apt-get update

Backing up

Back up the following files:

/etc/apt/sources.list /var/lib/dpkg/status

To do so, use these commands

sudo cp /etc/apt/sources.list /etc/apt/sources.list.original

and

sudo cp /var/lib/dpkg/status /var/lib/dpkg/status.original

Clearing your apt-cache

apt keeps a cache of recently downloaded packages to save bandwidth when it is required to be installed. This can be counter-productive in some cases

Now, to clean it, you have two options

sudo apt-get clean

This will remove all cached packages belonging to the folder /var/cache/apt/archives/ and /var/cache/apt/archives/partial except the .lock files. This is recommended

sudo apt-get autoclean...
0 0
15

What is a PPA?

It's all very simple once you get the hang of it. I have run into problems here and there, but generally speaking, PPA's are the only way to get your software updated in Ubuntu between distro releases (don't get me into a rant about that). It's too much to explain here, so I will point you to some worthwhile documentation. But first, a few simple rules:

Know what you're installing. Most likely you'll use Launchpad for the majority of your PPA needs, but even so it can be dangerous to your computer. Usually the worry for me is not malicious intent, but conflicting packages. If package A requires a modified version of ffmpeg, and package B in a different repository requires a modified version of ffmpeg too, well, now there's a good chance you might not be able to watch videos, for example, with package A or B or at all.

Keep in mind that anyone can create a PPA, even you. Just because a person signs the Code of Conduct doesn't mean they know what...

0 0
16

Where do you begin? Professional Photographers of America experts offer their advice.

Professional photographers do more than take pictures: they use their training and experience to consistently capture those once-in-a-lifetime moments. If you've ever used a professional photographer, you understand that.

But, how do you find a professional photographer that's right for you? The folks at Professional Photographers of America (PPA) have been around for 145 years and can tell you how to sort out good photographers from the not so good…faux-tographers. Here are the 10 most important questions they recommend you ask prospective photographers:

1. Are you insured?
If the answer is "yes," ask as many questions as you like to determine if the relationship is right for you. If the answer is "no," however, do not pass GO! Simply find another photographer. What happens if you hire a friend of a friend and he trips, injuring himself or breaking his brand new camera?...

0 0
17

WinUSB is a tool that lets you create a Windows USB install stick from Linux in just two clicks. The application supports Windows an Vista and can use either an ISO or a DVD as a source. Update: WinUSB supports Windows 8 as well.


A while back we wrote about creating a

bootable windows 7 USB drive from Linux

using Unetbootin, but newer Unetbootin versions can't do this anymore (you can still use an older version though) and you have to manually format the USB drive to NTFS, which may look a bit complicated for some users. But thanks to WinUSB, this process is now a lot easier!

WinUSB comes with both a graphical user interface and a command line tool and in my test, I was able to successfully boot the Windows Seven USB stick created using WinUSB (created under Ubuntu 11.10 Oneiric Ocelot).

Install WinUSB and create a USB stick Windows installer from Linux

WinUSB is available in a PPA for Ubuntu users - add the PPA and install it using the...

0 0