Linux install pkg file

Linux install pkg file

Метод создания chroot-окружения подходит для создания окружения с любым дистрибутивом, использующим репозиторий основанный на .rpm пакетах.

¶ DEB пакеты

Метод создания chroot-окружения подходит для создания окружения с любым дистрибутивом, использующим репозиторий основанный на .deb пакетах.

¶ Установка .apk пакетов

¶ Установка .pkg.tar.zst, .tgz, .tbz, .tbz2, .pkg.gz пакетов

Для установки .tgz, .tbz, .tbz2, .pkg.gz необходимо имеющийся пакет разархивировать с помощью утилиты tar:

#Для архивов сжатых с помощью GZIP (.gz, .gz2 и т.д.): tar -xvzf имя_файла #Для архивов сжатых с помощью BZIP (.bz, .bz2 и т.д.): tar -xvjf имя_файла #Для архивов сжатых с помощью XZ (.tar.xz, .txz): tar -xvJf имя_файла 
  • x — извлечь файлы из архива;
  • v — подробный вывод информации на экран;
  • f — Обязательная опция. Если не указать, Tar будет пытаться использовать магнитную ленту вместо файла;
  • z — обработать архив сжатый gzip’ом;
  • j — обработать архив сжатый bzip’ом.

После выполнения команды, будет создан каталог с именем, идентичным названию пакета .

Переход в созданный каталог:

Далее, все зависит от того, как была собрана программа: в виде исполняемого файла , или в исходном коде .

Перед установкой прочитать инструкцию (README), которая присутствует в каждом архиве.

Если программа собрана в виде исполняемого файла , в папке будет находиться файл, с расширением .sh или же с названием необходимой программы (например, firefox). Его достаточно просто запустить на исполнение:

Если же программа представлена в исходном коде , выполнить следующие команды:

./configure # Поиск необходимых для компиляции библиотек и заголовочных файлов make # компиляция программы sudo make install # установка программы 

После установки выполнить очистку каталога от всех файлов полученных в результате компиляции:

¶ Пример установки

Для примера приведена установка GParted.

Клонируем актуальную версию GParted с GitHub:

git clone https://github.com/GNOME/gparted.git 

В файле README указаны необходимые зависимости для устанавливаемой программы, если они отсутствуют в системе, то их необходимо установить.

Далее следует запустить формирование установочного файла:

Затем необходимо запустить:

Программа GParted установлена.

Источник

How to install .pkg file in ubuntu?

According to wiki, .pkg is the Mac OSX-specific package type. As little (again, according to wiki) is known about the format, it is not surprising dpkg cannot support it.

Читайте также:  Jetbrains rider linux key

If there are other versions of the software you have, other than the .pkg file, you should probably pick the .deb file. That would be handled by dpkg.

We cant install .pkg files in Ubuntu .Please find out windows version of application and we can install using Wine

regards,
Christain
clouddesktoponline

Similar topics

Hey PHP Fans! If you’re a Linux fan and haven’t installed Screem to see if that doesn’t become your favorite PHP editor, I highly recommend it. It’s a snap to install on Ubuntu Linux, which has.

Over the last few days, I reinstalled Win2kSP2 to a spare harddrive I had just swapped into my Fujitsu LifeBook P1120 (long story ). Subsequently, I DL’ed the newest Python alpha (2.4a2), and.

I love pexpect because it means I may never have to use expect again (I don’t do any heavy expect lifting — I just need simple tty control)! As a python advocate I find it embarassing how.

I am a perl newbie who is trying to write a script to automate a task. I have a large collection of compressed archives (mostly .tar.gz, tar.bz2, tar.Z, .tgz etc). This are stored in a number.

Hello I have recently installed DB2 express on UBUNTU and am not able to get it to start. I decided to uninstall and reinstall DB2. When I enter the command sudo ./db2_deinstall it says «No DB2.

Hi, This is the log file for my SP1 on 2005 install. Can anyone please look at this and tell me if this looks normal? I’m concerned about the following in the log: «Failed to read registry.

hi, I have got a batch file where i have written the following modules from CPAN: ppm install DBI ppm install DBD::mysql ppm install Config::Properties ppm install Net::SMTP ppm.

Dear all, I am trying to install File server Resource Manager to apply user level directory quota. Tried to use this link for help , it is as below: I checked the GIF file But on my.

Hello everyone: I met a problem when install blt2.4z. I have installed tcl8.4 and tk8.4 in my linux-x86 system. I install blt follow the step in INSTALL file. 1.tar zxvf BLT2.4z.tar.gz .

At BluePanda Dev, we’re passionate about building high-quality software and sharing our knowledge with the community. That’s why we’ve created a SaaS starter kit that’s not only easy to use but also.

hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.

Читайте также:  Linux проверить диск размер

I am a newbie to Access (most programming for that matter). I need help in creating an Access database that keeps the history of each user in a database. For example, a user might have lesson 1 sent.

I have a table that can contain up to 12 entries for an individual in the number field each number can be different number I want only to add up the top 7 numbers for each individual. What’s the.

Hello, I have a tabbed form. On each tab there is a subform. On Subform1 I have a series of combo boxes whose names are Combo1, Combo2, Combo3, etc. and button that if the user clicks will write.

Ⅱ. Download AntDB Community Version Download at: http://www.antdb.net/download, choose X86 version under Open Euler https://img1.imgtp.com/2023/06/14/hn1P9Kz2.png Ⅲ. Deploy AntDB Community.

What is the best, comprehensive Reference for programming Windows Applications in VB.NET. I have experience in programming in general, but not VB.NET. Thanks in advance.

I have been asked to publicise the next meeting of the UK Access User Group which will be on Thur 22 June from 16:00 to 17:30 UK time (UTC+1) The meeting is free and open to all (both members and.

I am new to Access VBA. We have an Access database which 20 staff are working together . i want a anyone to help me set up the popup message and notification to all the active users. The backend.

By using Bytes.com and it’s services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.

Источник

Уравление пакетами в Linux

Обычно программы инсталлируются через интернет, предварительно скачивая их с репозиториев. Скачанные файлы программ хранятся в каталоге /var/cache/apt/archives (не удаляются после установки). При необходимости их можно удалить командой apt-get clean или apt-get autoclean.

DPKG

  • dpkg -i программа Устанавливает либо обновляет пакет который был установлен ранее.
  • dpkg -r программа Деинсталлирует уже установленную программу но сохраняет файлы конфигурации программы.
  • dpkg -l Отображает список уже установленных пакетов программ.
  • dpkg -l | grep driver Отображает список установленных программ в названии которых есть слово “driver”.
  • dpkg -s программа Показывает информацию по этой программе.
  • dpkg -P программа Удаляет установленную программу вместе с файлом конфигурации.

APT

  • apt-get install программа Установка программы. Можно устанавливать сразу несколько программ. Выглядеть это будет так: apt-get install программа программа программа программа программа программа
  • apt-get update Проверяет, есть ли на репозиториях обновления для установленных программ. Список репозиториев находится в файле /etc/apt/sources.list
  • apt-cdrom install программа Устанавливает либо обновляет пакет с cdrom
  • apt-get upgrade Обновляет уже установленные программы.
  • apt-get remove программа Деинсталлирует установленную программу.
  • apt-get purge программа Удаляет установленный пакет и файлы конфигурации.
  • apt-get autoremove Удаляет пакеты, от которых не зависят другие пакеты.
  • apt-get check Находит конфликтующие пакеты и поломанные зависимости в пакетах программ.
  • apt-get -f install Исправляет найденные поломанные зависимости.
  • apt-cache search программа Поиск программы в кэше.
  • apt-cache show программа Показывает информацию и описание пакета программы.
  • apt-cache showpkg программа Покажет зависимости пакета программы.
  • apt-cache depends программа Отображает в виде списка зависимые пакеты программ нужные для работы выбранной программы
Читайте также:  Как установить vnc linux

Источник

Run .pkg files in Linux [closed]

Is it possible to run .pkg files in Ubuntu or Fedora. If so, how do I start with it? What’s .pkg file? It’s a file format used in Mac systems(Apple Inc.) Is there any alternatives which can run .pkg files in Linux distros? ( specifically Ubuntu or Fedora, I’m using latest version in both distros).

Sorry for that, .pkg is a format used in Mac systems. Here’s the wiki link for that — en.wikipedia.org/wiki/.pkg. I’ll edit the description.

1 Answer 1

You can unpack the Xar format using the xar archiver; perhaps the ark archive front-end can also handle the Xar format, as it links against libarchive12 , which provides read-only support for the Xar format.

OS X uses the Mach-O executable format, while Linux uses ELF. (Okay, Linux can also read some archaic a.out formatted files too, but this format is effectively dead on modern Linux systems.) There is an experimental Mach-O loader for Linux, but it sure sounds like a toy at this point. (You’d also need the libraries that applications use in order to actually run programs — that’d be another complication.)

So: Yes, you can unpack them. No, you cannot simply run OS X applications on Linux.

Thanks. 7zip was the best option for me to investigate a .pkg file. ark has dozens of dependencies that needed installing, yuck.

Since I cannot answer anymore, I’ll comment here: libarchive-tools has a package named bsdtar which extracts .pkg files and doesn’t require another OS of dependencies. A simple bsdtar xvf /path/to/file.pkg is enough.

Источник

Оцените статью
Adblock
detector