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)
Yes it's possible. Probably won't ever happen though.
Please use more descriptive thread titles.
I tought that i should make a script..
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..
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.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
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