untu如何安装 tar,gz tar.gz2

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
lvyichat
帖子: 123
注册时间: 2008-10-08 9:23

untu如何安装 tar,gz tar.gz2

#1

帖子 lvyichat » 2008-11-12 11:03

按照网上说的方法,.tar.gz文件一般都是采用以下方法安装
解压后编译:
sudo ./configure
make
make install

但我在执行make时,返回来下图的提示
screenshot1.png
这是什么意思?
改变习惯,从linux开始!
头像
ellon
帖子: 358
注册时间: 2007-11-28 5:39

Re: untu如何安装 tar,gz tar.gz2

#2

帖子 ellon » 2008-11-12 13:25

誰教你的?

解压后编译:
sudo ./configure (錯)
make
make install (錯)

不對,應該是:
./configure
make (對於驅動安裝,有時要sudo make)
sudo make install

更正確是:
./configure --prefix=/usr
make
sudo make install

對於gnome-do,不用configure的。用autogen
詳細參考:
https://wiki.ubuntu.com/GnomeDo/Installation
头像
的日多
帖子: 248
注册时间: 2008-06-22 22:26
来自: 广西崇左

Re: untu如何安装 tar,gz tar.gz2

#3

帖子 的日多 » 2008-11-12 13:35

呵呵,又学到一点东西了!!!
lvyichat
帖子: 123
注册时间: 2008-10-08 9:23

Re: untu如何安装 tar,gz tar.gz2

#4

帖子 lvyichat » 2008-11-13 8:25

感谢2楼,正在你提供的https://wiki.ubuntu.com/GnomeDo/Installation
改变习惯,从linux开始!
lvyichat
帖子: 123
注册时间: 2008-10-08 9:23

Re: untu如何安装 tar,gz tar.gz2

#5

帖子 lvyichat » 2008-11-13 8:40

再回2楼,你给我的地址好像是删除gnome-do吧?里面好像只有在提供了在网上的升级方法,没有说如何在下载了.gz文件后的安装方法。
screenshot3.png
改变习惯,从linux开始!
头像
ellon
帖子: 358
注册时间: 2007-11-28 5:39

Re: untu如何安装 tar,gz tar.gz2

#6

帖子 ellon » 2008-11-13 12:30

lvyichat 写了:再回2楼,你给我的地址好像是删除gnome-do吧?里面好像只有在提供了在网上的升级方法,没有说如何在下载了.gz文件后的安装方法。
screenshot3.png
你看完全文了嗎?
最後有一個主題是"From Source"

摘要:
Building from the latest source currently requires the following development libraries:

*

bzr (>= 0.92)
* mono-gmcs
* cairo-sharp
*

NDesk DBus & NDesk DBus Glib
* gtk-sharp2
* gnome-vfs-sharp
* gconf-sharp
* glade-sharp-2
* glib-sharp-2
* glib-2.0
* gdk-2.0
* gdk-x11-2.0
* gtk+-2.0
* gnome-desktop-sharp-2.0 (gnome-sharp2)
* notify-sharp

There may be other dependencies not listed here. If there are, autogen.sh should complain about them (feel free to add these to the list!). Building from bzr also requires autotools & intltool. You can also download periodic releases, which do not require autotools, but they may not be up-to-date.

On an Ubuntu, Debian, or derived system, these dependencies can be installed by

sudo aptitude install automake bzr mono-gmcs libmono-cairo2.0-cil gtk-sharp2 libndesk-dbus-glib1.0-cil libndesk-dbus1.0-cil libgnome-vfs2.0-cil libgtk2.0-dev libtool intltool gnome-sharp2 ca-certificates bazaar gnome-keyring-sharp-cli gnome-desktop-sharp2 libnotify0.4-cil

Users of Ubuntu releases prior to Hardy (Gutsy, Feisty, etc) will need a newer version of bzr. This can be found either in the official backports repository, or in the Bazaar team PPA

Once all the dependencies are installed, the Do source can be branched by:

$ bzr branch lp:do gnome-do

and then built and installed by one of the following:

$ cd gnome-do
$ ./autogen.sh
$ make
$ sudo make install

To install system wide, or

$ cd gnome-do
$ ./autogen.sh --prefix=$HOME/.local
$ make
$ make install

To install into the home directory of the current user. The gnome-do binary will end up at ~/.local/bin/gnome-do

To update run

$ bzr pull

in the gnome-do source directory, then build as before.

Plugins are also available from source. Plugins may be installed in a system-wide location or in ~/.local/share/gnome-do/plugins on per-user basis.

$ bzr branch lp:do-plugins
$ cd do-plugins
头像
sinoyster
帖子: 958
注册时间: 2005-10-16 13:24
来自: 四川成都
联系:

Re: untu如何安装 tar,gz tar.gz2

#7

帖子 sinoyster » 2008-11-13 13:54

tar.gz tar.bz2 只是压缩文件,并不存在如何安装,解开就可以了,如何安装要看压缩包里的内容,如果是二进制直接运行,如果是源码一般看INSTALL

这种问题就像问windows如何安装rar和zip文件一样
Thank you Ubuntu Team!!!!
I still can't belive this is free...
binghuen
帖子: 156
注册时间: 2008-07-19 15:00
来自: 浙江
联系:

Re: untu如何安装 tar,gz tar.gz2

#8

帖子 binghuen » 2008-11-13 14:35

正好在看解压部分
与LZ共享
http://linux-vbird.hillwood.cn/linux_ba ... mpress.htm
回复