首页 > 系统相关 >ubuntu10.04 中安装 Xdialog

ubuntu10.04 中安装 Xdialog

时间:2022-12-18 20:04:10浏览次数:80  
标签:10 ubuntu10.04 libglib1.2 apt libgtk1.2 deb 安装 Xdialog


In more recent versions of Ubuntu the developers have decided that libgtk1.2/libglib1.2 is obsolete and therefore has been removed. Unfortunately for me this causes a problem as I like to use ​​Xdialog​​​ (which relies on libgtk1.2) for guified shell scripts. Most people would just go ahead and use ​​Zenity​​​ which has it's uses, but lacks many features that Xdialog has. Xdialog hasn't been part of Ubuntu since Hardy so it needs to be compiled from source, but without the proper dev libraries either, we are out of luck. Or are we? ​​Knut Auvor Grythe​​ was gracious enough to host all the required library sources which we can compile and then use to compile Xdialog.



Add the repositories to your /etc/apt/sources.list (Karmic repos work for Lucid and Maverick):



​deb http://www.pvv.ntnu.no/~knuta/xmms/karmic ./
deb-src http://www.pvv.ntnu.no/~knuta/xmms/karmic ./

Build and install the libraries:
​​
sudo apt-get build-dep libglib1.2-dev
apt-get -b source libglib1.2-dev
sudo dpkg -i libglib1.2-dev_1.2.10-19build1_*.deb            libglib1.2ldbl_1.2.10-19build1_*.deb
sudo apt-get build-dep libgtk1.2
apt-get -b source libgtk1.2
sudo dpkg -i libgtk1.2_1.2.10-18.1build2_*.deb libgtk1.2-common_1.2.10-18.1build2_all.deb libgtk1.2-dev_1.2.10-18.1build2_*.deb

Get Xdialog source code and extract it:
​​
wget http://xdialog.free.fr/Xdialog-2.3.1.tar.bz2
tar xvf Xdialog-2.3.1.tar.bz2

Compile and install Xdialog:
​​
cd Xdialog-2.3.1
./configure
make
sudo make install​

标签:10,ubuntu10.04,libglib1.2,apt,libgtk1.2,deb,安装,Xdialog
From: https://blog.51cto.com/u_15082498/5951076

相关文章

  • varnish02-安装varnish
    1、使用yum安装varnish1.1、安装varnish//安装epel源yuminstallepel-release.noarch//安装varnishyuminstallvarnish//启动服务systemctlstartvarnish.servi......
  • 离线下载和安装UWP(windows应用商店)软件
    离线下载uwp安装包打开商店,然后搜索您要的应用程序名称,进入应用界面点击分享按钮,在弹出窗口中选择【复制链接】把链接粘贴到:https://store.rg-adguard.net/默认选择的......
  • UOS操作系统安装vnc远程桌面服务
    一、虚拟机配置1.1进入开发者模式(root)用户   1.2设置root密码      二、安装vnc和xrdp服务2.1虚拟机能上外网   2.2安装x11vnc因为不......
  • 在centos7中安装docker
    第一步:将原来的docker进行卸载执行语句sudoyumremovedocker\docker-client\docker-client-latest\doc......
  • 家庭影音服务器-软件架构及安装
    服务其安装什么系统呢?如果说操作简单考虑和黑群晖(应为没有买群晖的硬件,自己没法装正版系统),还是各种NAS系统,TrunNAS、URaidnOS,...一查种类还真的不少,简直是选择恐惧症,......
  • MySQL 卸载与安装(压缩包版)
    1.判断本地是否已经安装MySQL①在运行界面输入services.msc进入服务界面,查看是否有MySQL服务②进入任务管理器,点击服务看是否有MySQL服务2.安装MySQL(压缩包版)1.......
  • workstation 16.0安装UOS统信操作系统
    一、下载UOS镜像https://www.chinauos.com/resource/download-professional  二、workstation配置2.1 新建虚拟机(自定义)2.2硬件兼容性配置  2.3稍后安装......
  • Vue3 - Vite 安装与创建 vue3 项目
    前言为什么使用vite(官方解释):https://vitejs.cn/guide/why.html它是一款由尤雨溪开发的新工具,旨在代替webpack,利用浏览器现已支持ES6的基础,遇到import会发送一个......
  • 关于更改注册表中系统默认安装路径出现的应用图标消失以及路径无法找到的解决方案
    问题产生原因某日一位同学向我询问虚拟机相关内容,在为她下载虚拟机镜像文件的时候出现了系统盘内存不够用的情况,对此我采用修改注册表路径的方式解决,具体修改为计算机\HK......
  • hive配置Tez引擎,并安装Tez-ui
    目录一、下载Tez1、下载apache-tez-0.9.2-bin.tar.gz包二、hive配置tez引擎1、解压apache-tez-0.9.2-bin.tar.gz2、进入tez目录,上传tez目录下的share/tez.tar.gz到......