PPA: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 9: Zeile 9:
 
  sudo apt-get update
 
  sudo apt-get update
 
Now you're ready to start installing software from the PPA!
 
Now you're ready to start installing software from the PPA!
 +
=Per Skript=
 +
root@cardassia:~# cat  /usr/local/sbin/ppa
 +
#!/bin/bash
 +
add-apt-repository $1
 +
apt-get update
 +
 +
ppa

Version vom 5. Mai 2011, 14:57 Uhr

Step 1

On the PPA's overview page, look for the heading that reads Adding this PPA to your system. Make a note of the PPA's location, which looks like:

ppa:gwibber-daily/ppa

Step 2

Open a terminal and enter:

sudo add-apt-repository ppa:user/ppa-name

Step 3

Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added:

sudo apt-get update

Now you're ready to start installing software from the PPA!

Per Skript

root@cardassia:~# cat  /usr/local/sbin/ppa 
#!/bin/bash
add-apt-repository $1
apt-get update
ppa