怎么安装这个tar.bz2软件

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

怎么安装这个tar.bz2软件

#1

帖子 ceek » 2009-09-15 13:08

从官网下载了FLOCK软件, flock-2.5.2.en-US.linux-i686.tar.bz2
解压后不知道如何安装,请教

包里内容如下:
附件
wiki里的过期了。。。
wiki里的过期了。。。
头像
tenzu
论坛版主
帖子: 36924
注册时间: 2008-11-21 20:26

Re: 怎么安装这个tar.bz2软件

#2

帖子 tenzu » 2009-09-15 13:13

README.txt里没有提示?
ceek
帖子: 101
注册时间: 2008-12-12 19:02

Re: 怎么安装这个tar.bz2软件

#3

帖子 ceek » 2009-09-15 13:16

readme里面没有任何提示 ,只有简单几句敷衍
--
Information, including recently fixed bugs, and outstanding

issues, can be found online at

http://www.flock.com/products/flock/releases/latest/
ceek
帖子: 101
注册时间: 2008-12-12 19:02

Re: 怎么安装这个tar.bz2软件

#4

帖子 ceek » 2009-09-15 13:18

网站上有个FAQ,我试下
How do I install Flock on Linux?

Flock is not yet packaged for any Linux distribution (with the notable exception of Ultima Linux).

This guide should work for most distributions of Linux

Before you install Flock on Linux, please note:

* The Flock binaries are only for GNU/Linux on x86
* libstdc++5 is required for Flock 1.x
* libstdc++6 is required for Flock 2.x

Installing Flock on Linux is relatively easy. First, download the latest version of Flock and save it to your home folder.

Open up a terminal window (not as root) and enter the following:

tar -C /home/yourusername -xzvf flock-*.linux-i686.tar.gz

Make sure you change the actual filename to match the version you have downloaded. This command extracts the contents of the package to your home folder

Now that you have done that, we need a desktop entry:

gedit /home/yourusername/Flock.desktop

You can use your preferred text editor, gedit is being used simply for example.

Enter the following in to the new file:

[Desktop Entry]
Version=2.5
Encoding=UTF-8
Name=Flock
Comment=Flock Web Browser
Exec="/home/yourusername/flock/flock-browser"
GenericName=Flock Web Browser
Icon=/home/yourusername/flock/icons/mozicon128.png
Path=$HOME/flock
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
Categories=Network;Application;
GenericName[en_US]=Flock Web Browser

This creates a desktop shortcut to run Flock in your home folder. Feel free to drag it on to your panel or desktop to make it more convenient to access.

There you go! You're all set to start using Flock!
头像
tenzu
论坛版主
帖子: 36924
注册时间: 2008-11-21 20:26

Re: 怎么安装这个tar.bz2软件

#5

帖子 tenzu » 2009-09-15 13:26

运行一下run-mozilla.sh试试?
ceek
帖子: 101
注册时间: 2008-12-12 19:02

Re: 怎么安装这个tar.bz2软件

#6

帖子 ceek » 2009-09-15 13:31

:em03
按照FAQ上面的解压后创建个快捷方式,可以运行了


解压到/home/用户目录/下
tar -C /home/yourusername -xvjf flock-*.linux-i686.tar.gz

再创建个desktop文件,指定路径可以了

不过菜单里还没搞出来。。。。
gnailuy
帖子: 14
注册时间: 2009-09-15 10:49

Re: 怎么安装这个tar.bz2软件

#7

帖子 gnailuy » 2009-09-15 13:58

Exec="/home/yourusername/flock/flock-browser"
应该是直接运行这个就行了吧,菜单有没有不重要,把flock加入到PATH中应该是个好主意:

代码: 全选

PATH=$PATH:/home/yourusername/flock
加到~/.bashrc里面,打命令能找到就行了。
dalaka
帖子: 92
注册时间: 2006-07-05 10:06

Re: 怎么安装这个tar.bz2软件

#8

帖子 dalaka » 2009-09-25 21:29

http://wiki.ubuntu.org.cn/Flock
这里面有答案。
头像
gza633
帖子: 799
注册时间: 2009-03-13 14:26

Re: 怎么安装这个tar.bz2软件

#9

帖子 gza633 » 2009-09-25 22:51

这个难道不是解压就能直接使用的?
回复