如何为ubuntu编写安装脚本 [英] How to write an install script for ubuntu

查看:115
本文介绍了如何为ubuntu编写安装脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在linux(ubuntu)中开发了一个opengl游戏..现在,我想为该脚本编写一个安装脚本,使用该命令将游戏直接安装到apt中.

I just developed an opengl game in linux (ubuntu).. Now I would like to write a setup script for the same which installs the game directly into the apt using the command..

sudo apt-get install ...

,因此它可以在整个Linux的任何位置运行,而无需进入游戏的指定文件夹.有谁知道该怎么做?

so that it runs from anywhere throughout linux without going into the specified folder for the game. Anyone knows how to do that ?

推荐答案

http://ptspts.blogspot. com/2010/02/how-to-create-debianubuntu-package-deb.html

http://wiki.debian.org/HowToPackageForDebian

这篇关于如何为ubuntu编写安装脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆