Comments (3)
This question will be resolved with my answer at issue #48.
The latest version of gcc-g++(version 8.3.0-1) is in the [test] section not [curr].
But, I'm sorry, apt-cyg
does not support selecting a section for install
subcommand, yet.
Thus, you can not install it with apt-cyg
directly.
However, you can resolve it with the least cost by using setup
subcommand and a few GUI operations.
- Run below command:
apt-cyg setup -- -q -B -M -n -x gcc-g++ -P gcc-g++
If you want to check the section which packages are belongs, use describe
subcommand as following:
$ apt-cyg -u describe gcc-g++
Cache directory is /cygdrive/c/Users/kou/Downloads/cygwin
Mirror is http://ftp.jaist.ac.jp/pub/cygwin
@ gcc-g++
sdesc: "GNU Compiler Collection (C++)"
ldesc: "The GNU Compiler Collection includes front ends for C, C++,
Objective-C, Fortran, Ada, and Go, as well as libraries for these
languages (libstdc++, libgcj,...)."
category: Devel
requires: cygwin gcc-core libgmp10 libiconv2 libintl8 libisl15 libmpc3 libmpfr6 libstdc++6 zlib0
version: 7.4.0-1
install: x86_64/release/gcc/gcc-g++/gcc-g++-7.4.0-1.tar.xz 12405804 7bd7861622c214710da4b3ff3304eb22b8c05c595f343610750a44bf5826ec27a4cd37623cfa20d48f40d07055b1a2e33eb0bab158fecef2e7fce310fb2e29a8
source: x86_64/release/gcc/gcc-7.4.0-1-src.tar.xz 62627316 28c56fb6c6b2b1e2248bac49d5cfa96bc48d9ba7f473e07a54f43e63f3aafeacb6acf6b2a139e9f01926551d4c0fdecae9c46d864599b24b6c0f4763a72321f9
depends2: cygwin, gcc-core, libgmp10, libiconv2, libintl8, libisl15, libmpc3, libmpfr6, libstdc++6, zlib0
[prev]
version: 7.3.0-3
install: x86_64/release/gcc/gcc-g++/gcc-g++-7.3.0-3.tar.xz 12379576 390d58d363c5eef45b796f6a20e784a81700a04b588a7af599fc95cff7fa6d35a99f350fd96c7430e18a5aa0df774fb225bac759958396c2fbe398b09e5d9a90
source: x86_64/release/gcc/gcc-7.3.0-3-src.tar.xz 62487856 cf93db46b32dce73ddc4b44ad253405ebfa16937340f0e59f7f0ddf0e2397faea6092c173d03f53b401d63e34e9a6b8d2f2911013dbb5d6dd146af1e84d61a07
depends2: cygwin, gcc-core, libgmp10, libiconv2, libintl8, libisl15, libmpc3, libmpfr6, libstdc++6, zlib0
[test]
version: 8.3.0-1
install: x86_64/release/gcc/gcc-g++/gcc-g++-8.3.0-1.tar.xz 15720920 902cb94cc224e98fba2b12429d7fc7a36329c139c124300dc730a04307228ef4e2f7f9fa7958ef8ac2ee12a991f5678f36046291c2569b53a91d6b9b02970adc
source: x86_64/release/gcc/gcc-8.3.0-1-src.tar.xz 63717648 d1bd8497bbda3e97413a33e71c3e13ee0c9eff3f610e219b99aac0a97a7a850c6204cd1c8d8579a85ddbfd81a1f20a5dc929dc09ddce5d88130c8d526715ce39
depends2: cygwin, gcc-core, libgmp10, libiconv2, libintl8, libisl15, libmpc3, libmpfr6, libstdc++6, zlib0
from apt-cyg.
Thanks for the detailed answer!
from apt-cyg.
Out of curiosity, this is nice when you need to select a specific version, since this is still not supported.
But, when you want to upgrade, isn't it "easier" to just remove and then install the package again?
I'd also love a one-package update feature, but so far, it seems to me that sticking to the command-line is still faster.
from apt-cyg.
Related Issues (20)
- Feature request: autoremove HOT 1
- Suggest to install libiconv too. HOT 2
- Cygwin public key hardcoded in apt-cyg expired HOT 1
- cygwin.com package for apt-cyg HOT 4
- Support `provides:` parameter in `setup.ini`. HOT 1
- Support for specifying a specific version in the install command.
- All commands open "Error opening Help in Windows-based programs" page. HOT 1
- Set default installation path to /usr/bin or /usr/local/bin path HOT 1
- homepage: command not found HOT 1
- Bad GPG signature warnings again HOT 2
- Very Hard to Install and not working, getting error HOT 3
- Output capping [enhancement] HOT 1
- Installing specific version of the HOT 2
- updating setup.ini failed HOT 12
- The dependencies cannot be solved. HOT 2
- Type p of postinstall scripts must not be marked .done HOT 1
- /etc/postinstall/*.dash are required to be executed.
- Set timeout limit for mirror benchmark? HOT 5
- Removing orphaned auto-packages HOT 1
- Can't create '\\\\?\\C:\\usr\\bin\\free.exe' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apt-cyg.