安装软件的问题

为当前最终发行版之前的所有版本提供支持
cagewang
帖子: 183
注册时间: 2005-09-01 17:24
送出感谢: 0
接收感谢: 0
联系:

安装软件的问题

#1

帖子 cagewang » 2006-05-22 22:59

怎么使用新力得来装软件阿。。比如我现在下了个源.以tar.gz结尾的文件.放到桌面上.接下来如何操作.
在终端又如何输入命令呢?
谢谢请高手讲清楚点.我是菜鸟.
头像
freeflying
论坛版主
帖子: 521
注册时间: 2005-03-26 9:38
送出感谢: 0
接收感谢: 0

Re: 安装软件的问题

#2

帖子 freeflying » 2006-05-22 23:10

cagewang 写了:怎么使用新力得来装软件阿。。比如我现在下了个源.以tar.gz结尾的文件.放到桌面上.接下来如何操作.
在终端又如何输入命令呢?
谢谢请高手讲清楚点.我是菜鸟.
dapper源里自带有16000多种软件,不够你用?
图片
qzzhong
帖子: 71
注册时间: 2006-04-10 12:39
送出感谢: 0
接收感谢: 0

#3

帖子 qzzhong » 2006-05-22 23:17

装不了的东西,要装就得装DEB的包。
bigapple
帖子: 99
注册时间: 2006-05-10 9:46
送出感谢: 0
接收感谢: 0

#4

帖子 bigapple » 2006-05-23 0:09

qzzhong 写了:装不了的东西,要装就得装DEB的包。
误人子弟啊!
难道除了apt-get和deb包,就没其他的安装方法了吗?
.tar.gz的包一般需要手工安装,如果没什么特别需要的话,步骤如下
tar zxvf xxx.tar.gz
cd xxx
./configure
make
make install ( su to user root )
当然最好先看看README和HOWTO文档,按gun标准打包的程序一般都带这两个文档的。
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
送出感谢: 0
接收感谢: 0
联系:

#5

帖子 karron » 2006-05-23 8:36

建议新手通过新立得安装,不要通过源代码安装.
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
qzzhong
帖子: 71
注册时间: 2006-04-10 12:39
送出感谢: 0
接收感谢: 0

#6

帖子 qzzhong » 2006-05-23 8:52

sudo apt-get install synaptic下载安装一个新立德,就可以运行他装东西了。谁说我误人子弟,好多那个gz的装不了,只有一二个才可以安装,你这不是在误人子弟。干脆忘掉那个安装,。
头像
Strange
帖子: 1823
注册时间: 2006-05-19 9:54
来自: Shanghai
送出感谢: 2 次
接收感谢: 10 次

#7

帖子 Strange » 2006-05-23 9:12

需要自己编译的软件需要自己解决依赖和冲突问题,麻烦是麻烦了点,不过要好玩多了
头像
Element
论坛版主
帖子: 3537
注册时间: 2005-09-10 16:04
来自: DG-GD-China
送出感谢: 0
接收感谢: 0

#8

帖子 Element » 2006-05-23 9:19

qzzhong 写了:sudo apt-get install synaptic下载安装一个新立德,就可以运行他装东西了。谁说我误人子弟,好多那个gz的装不了,只有一二个才可以安装,你这不是在误人子弟。干脆忘掉那个安装,。
系统--管理--新立得。
在里面找你想装的软件。
http://element.blog.ubuntu.org.cn/
Ubuntu Jaunty Jackalope...
AMD Barton 2600+
MSI K7N2 Delta-L
Kingston DDR400 512M*2+256M*1
nVidia FX5200
Seagate 80G(Jaunty Jackalope)
Seagate 160G(XXxxXX)
SyncMaster 732N
bigapple
帖子: 99
注册时间: 2006-05-10 9:46
送出感谢: 0
接收感谢: 0

#9

帖子 bigapple » 2006-05-23 9:37

qzzhong 写了:sudo apt-get install synaptic下载安装一个新立德,就可以运行他装东西了。谁说我误人子弟,好多那个gz的装不了,只有一二个才可以安装,你这不是在误人子弟。干脆忘掉那个安装,。
我的口气似乎不怎么妥当,像你道歉。

tar.gz是GNU软件包的标准发放模式,你说要忘记这个,我真的觉得不妥。
mysql,apache之类的软件有很多参数可以在configure的时候调整。
Installing a GNU package
Autoconfiguring software is distributed with packaged source code distributions. These are big files with filenames of the form:

package-version.tar.gz

For example, the file `autoconf-2.13.tar.gz' contains version 2.13 of GNU Autoconf. We often call these files source distributions; sometimes we simply call them packages.

The steps for installing an autoconfiguring source code distribution are simple, and if the distribution is not buggy, can be carried out without substantial user intervention.

First, you have to unpack the package to a directory:
% gunzip foo-1.0.tar.gz
% tar xf foo-1.0.tar

This will create the directory `foo-1.0' which contains the package's source code and documentation. Look for the files `README' to see if there's anything that you should do next. The `README' file might suggest that you need to install other packages before installing this one, or it might suggest that you have to do unusual things to install this package. If the source distribution conforms to the GNU coding standards, you will find many other documentation files like `README'. See section Maintaining the documentation files, for an explanation of what these files mean.
Configure the source code. Once upon a time that used to mean that you have to edit makefiles and header files. In the wonderful world of Autoconf, source distributions provide a `configure' script that will do that for you automatically. To run the script type:
% ./configure

Now you can compile the source code. Type:
% cd foo-1.0
% make

and if the program is big, you can make some coffee. After the program compiles, you can run its regression test-suite, if it has one, by typing
% make check

If everything is okey, you can install the compiled distribution with:
% su
# make install

The `make' program launches the shell commands necessary for compiling, testing and installing the package from source code. However, `make' has no knowledge of what it is really doing. It takes its orders from makefiles, files called `Makefile' that have to be present in every subdirectory of your source code directory tree. From the installer perspective, the makefiles define a set of targets that correspond to things that the installer wants to do. The default target is always compiling the source code, which is what gets invoked when you simply run make. Other targets, such as `install', `check' need to be mentioned explicitly. Because `make' takes its orders from the makefile in the current directory, it is important to run it from the correct directory. See section Compiling with Makefiles, for the full story behind `make'.

The `configure' program is a shell script that probes your system through a set of tests to determine things that it needs to know, and then uses the results to generate `Makefile' files from templates stored in files called `Makefile.in'. In the early days of the GNU project, developers used to write `configure' scripts by hand. Now, no-one ever does that any more. Now, `configure' scripts are automatically generated by GNU Autoconf from an input file `configure.in'. GNU Autoconf is part of the GNU build system and we first introduce in in section The GNU build system.

As it turns out, you don't have to write the `Makefile.in' templates by hand either. Instead you can use another program, GNU Automake, to generate `Makefile.in' templates from higher-level descriptions stored in files called `Makefile.am'. In these files you describe what is being created by your source code, and Automake computes the makefile targets for compiling, installing and uninstalling it. Automake also computes targets for compiling and running test suites, and targets for recursively calling make in subdirectories. The details about Automake are first introduced in section Using Automake.
[/code]
tcs
帖子: 141
注册时间: 2006-04-06 13:51
送出感谢: 0
接收感谢: 0
联系:

#10

帖子 tcs » 2006-05-24 4:05

尽量用新立得安装卸载,
tar.gz直接解压缩就可以使用了.
newhpzzw
帖子: 115
注册时间: 2006-05-13 3:06
送出感谢: 0
接收感谢: 0

#11

帖子 newhpzzw » 2006-05-24 15:46

感觉用tar.gz能学到一些基本命令
头像
gordonyb0
帖子: 61
注册时间: 2005-10-18 11:24
来自: 苏州
送出感谢: 0
接收感谢: 0
联系:

#12

帖子 gordonyb0 » 2006-05-26 9:22

难道说向我这样没有光驱,linux下又不能上网的人就不能装新软件了?
5~~~
They are both convined
that a sudden passion joined them
such certainty is beautiful
but uncertainty is more beautiful still
头像
hbj0331
帖子: 78
注册时间: 2006-04-18 12:46
来自: 北京
送出感谢: 0
接收感谢: 0
联系:

#13

帖子 hbj0331 » 2006-05-26 9:43

可以用u盘先下载下来,再拷过去安装
我们宿舍联网以前就是那样的,不过软件的依赖关系比较难解决
万一少了个什么,你就又要去下了
^^
头像
pedant
帖子: 1093
注册时间: 2005-12-23 0:29
送出感谢: 0
接收感谢: 0

Re: 安装软件的问题

#14

帖子 pedant » 2006-06-03 15:47

freeflying 写了:
cagewang 写了:怎么使用新力得来装软件阿。。比如我现在下了个源.以tar.gz结尾的文件.放到桌面上.接下来如何操作.
在终端又如何输入命令呢?
谢谢请高手讲清楚点.我是菜鸟.
dapper源里自带有16000多种软件,不够你用?
你不觉得源里面的程序太旧了吗?都是些什么年代的版本??

唉,难道更新很困难吗?
发行版本:Ubuntu 11.04
桌面环境:GNOME 2.32.1
文件系统:ext4
内核:Linux 2.6.38-9-generic
平台:i686
CPU:Intel(R) Celeron(R) CPU 550 @ 2.00GHz
内存:993.2 MB
显卡芯片:Intel(R) GM965
电脑型号:DELL 500笔记本
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
送出感谢: 0
接收感谢: 0
联系:

Re: 安装软件的问题

#15

帖子 karron » 2006-06-03 16:00

mazefa 写了:
你不觉得源里面的程序太旧了吗?都是些什么年代的版本??

唉,难道更新很困难吗?
ubuntu的工程师要保证软件的兼容性,你以为随随便便就紧跟软件升级阿。更何况16000种软件,每天有多少软件更新?ubuntu的工程师跟得及吗?

本来就是免费在使用别人提供给你的软件和服务,难道就不会有个感恩的心?

更何况大家是对于新手推荐使用新立得进行安装软件。如果你有能力自己安装最新的软件就自己安装了。如果能够从源代码编译就更好了。把你的经验写出来与大家分享恐怕比你在这里要求别人好的多吧?
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
回复

回到 “老旧版本支持”