You are not logged in.

#1 2020-09-15 09:48:29

HoseinSarafrazi
Member
Registered: 2020-08-26
Posts: 8

can't install downlowded pakage.

I download pycharm sourse from a site and when I use pacman -U PAKAGE.tar.gz it return this masage:

ls -ltrh
total 505M
-rw-r--r-- 1 hosein hosein 505M Aug 27 17:38 pycharm-professional-2020.2.1.tar.gz
sudo pacman -U pycharm-professional-2020.2.1.tar.gz
[sudo] password for hosein: 
loading packages...
error: missing package metadata in pycharm-professional-2020.2.1.tar.gz
error: 'pycharm-professional-2020.2.1.tar.gz': invalid or corrupted package

Thanks

Last edited by HoseinSarafrazi (2020-09-15 09:50:04)

Offline

#2 2020-09-15 09:54:31

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,933
Website

Re: can't install downlowded pakage.

Pacman installs packages, not source code archives.
You can either download an older version from the Arch Linux Archive or update the respective PKGBUILD to your needs, using the downloaded source code archive.

Update: I think I misinterpreted "downlowded" for "downgraded".
The official repos contain the community edition as "pycharm-community-edition", which you can install as usual using pacman -S.
Otherwise, you'll need to build the package yourself first, which is available in the AUR: https://aur.archlinux.org/packages/pych … fessional/

Last edited by schard (2020-09-15 09:58:47)

Offline

#3 2020-09-15 10:19:58

HoseinSarafrazi
Member
Registered: 2020-08-26
Posts: 8

Re: can't install downlowded pakage.

sorry but I don't have enough internet to download it by pacman .Is there any way to install it?

Last edited by HoseinSarafrazi (2020-09-15 10:21:11)

Offline

#4 2020-09-15 10:22:17

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,933
Website

Re: can't install downlowded pakage.

You may be able to modify the PKGBUILD from the AUR to use your, presumably already downloaded, source code archive and build the package from it.

Offline

#5 2020-09-15 10:58:07

HoseinSarafrazi
Member
Registered: 2020-08-26
Posts: 8

Re: can't install downlowded pakage.

oh thanks it worked

Offline

#6 2020-09-15 11:50:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,429

Re: can't install downlowded pakage.

Please mark as [SOLVED] by editing the title in your first post.

Mod note: Moving to NC

Offline

Board footer

Powered by FluxBB