You are not logged in.

#1 2010-06-08 05:40:54

Japanlinux
Member
Registered: 2010-05-18
Posts: 173

Pacman..on Ubuntu?

hello. I'm a bit curious about something. I've been on Arch for a bit now, and I can see why people prefer this over ubuntu. But out of curiousity, since both Arch and Ubuntu are both linux, isn't it possible to port pacman over to ubuntu? Or is Arch that much different from U that it wouldn't work? I ask this because I recently found out that dpkg works on Arch (it's in AUR) and that got me thinking. Not that it would make much of a difference if it's possible, but I can't help but wonder.

Last edited by Japanlinux (2010-06-08 08:45:44)

Offline

#2 2010-06-08 05:51:32

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,416
Website

Re: Pacman..on Ubuntu?

pacman would work on Ubuntu, but using two different package managers on a system is bound to lead to trouble.  pacman would know nothing about the packages installed by apt and vice-versa

Offline

#3 2010-06-08 05:53:01

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,838

Re: Pacman..on Ubuntu?

Yes it's possible. Probably won't ever happen though.

Please use more descriptive thread titles.

Offline

#4 2010-06-08 06:04:43

fsckd
Forum Moderator
Registered: 2009-06-15
Posts: 3,567

Re: Pacman..on Ubuntu?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#5 2011-05-13 15:45:20

schef
Member
Registered: 2009-04-16
Posts: 59

Re: Pacman..on Ubuntu?

I tought that i should make a script..

something like:

pacman -Ss for apt-cache search
pacman -S for apt-get install

becouse when i'm on ubuntu system..i't my wife's..i forget that i am on ubuntu and always start writing pacam..

Offline

#6 2011-05-13 15:52:03

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,073

Re: Pacman..on Ubuntu?

That's almost a year old thread that you pulled up. Instead of putting it in a script, I believe you should just create aliases in your wife's computer.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#7 2011-05-13 16:47:00

schef
Member
Registered: 2009-04-16
Posts: 59

Re: Pacman..on Ubuntu?

here it is.

#!/bin/bash

#Name: pacman.sh
#This is a pacman script for archlinux users on ubuntu
#Autor: Stjepan Horvat aka schef
#Date: 2011-05-13

USAGE="Usage: Arch Linux like pacman."

if [ $# -eq 0 ]; then
  echo $USAGE
  exit
elif [ $# -gt 2 ];then
  echo $USAGE
  exit

elif [ $1 = -Ss ]; then
  apt-cache search $2

elif [ $1 = -S ]; then
  apt-get install $2

elif [ $1 = -Sy ]; then
  apt-get update

elif [ $1 = -Su ]; then
  apt-get upgrade

elif [ $1 = -Syu ]; then
  apt-get update && upgrade

else
  echo $USAGE
  exit
fi

Offline

#8 2012-07-22 08:41:24

trontonic
Member
Registered: 2008-07-21
Posts: 80

Re: Pacman..on Ubuntu?

Now there's also PacApt

Offline

Board footer

Powered by FluxBB